import request from "@/utils/request";

// 对话
export function customChat(data) {
    return request({
        url: "/customService/question.do",
        method: "post",
        data,
    });
}

// 获取
export function customList(data) {
    return request({
        url: "/customService/list.do",
        method: "post",
        data,
    });
}

// 添加
export function customAdd(data) {
    return request({
        url: "/customService/add.do",
        method: "post",
        data,
    });
}


// 修改
export function customUpdate(data) {
    return request({
        url: "/customService/update.do",
        method: "post",
        data,
    });
}

// 删除
export function customDelete(data) {
    return request({
        url: "/customService/delete.do",
        method: "post",
        data,
    });
}

// 详情
export function detail(data) {
    return request({
        url: "/customService/detail.do",
        method: "post",
        data,
    });
}
